package org.ch02.test01.demo04;

import org.ch02.entity.Student;

/**
 * 获取某个类的Class对象 - 方法四
 * 包装类.TYPE
 * <p>
 * 注意：此案例没有反射到底！！！
 *
 * @author ZJL
 * @date 2025-03-17
 */
public class MainTest02 {
    public static void main(String[] args) throws Exception {
        Student s1 = new Student();
        Student s2 = new Student();
        System.out.println(s1 == s2);
        System.out.println(s1.getClass() == s2.getClass());
    }
}
